//
//  JMAppNetworkClient.h
//  JMDome_1
//
//  Created by ios on 15/6/12.
//  Copyright (c) 2015年 ios. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JMURLKey.h"
#import "AFNetworking.h"


typedef void (^JMAPPNetworkingBlock)(id data, NSError *error);

@interface JMAppNetworkClient : NSObject
/**
    初始化方法 网络下载 做成单利模式
 */
+ (instancetype) shareAppNetworkingclient;

/**
    初始化AFNetworking Http 请求 管理员
 */
@property (nonatomic,strong) AFHTTPRequestOperationManager * manager;

+ (AFHTTPRequestOperation *) interFaceWithInfo:(NSDictionary *) parametes compelete:(JMAPPNetworkingBlock)block;


/**
    登录接口
 **/

+ (AFHTTPRequestOperation *) postLoginWithInfo:(NSDictionary *) parametes compelete:(JMAPPNetworkingBlock)block;
/**
    注册接口 返回数据
 **/

+ (AFHTTPRequestOperation *) postRegistWithInfo:(NSDictionary *) parametes compelete:(JMAPPNetworkingBlock)block;

/**
 * 退出登录
 **/

+ (AFHTTPRequestOperation *)signOutWithINfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 *  找回密码
 **/
+ (AFHTTPRequestOperation *)getBackPwdWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 *获得个人信息
 */
+ (AFHTTPRequestOperation *)getUserInfoWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 *更改个人信息
 */

+ (AFHTTPRequestOperation *)alterUserInfoWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;


/**
 *学习圈
 */
+ (AFHTTPRequestOperation *)studyCircleListWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;

/**
 * 招生院校 recruitStudentSacademy
 */
+ (AFHTTPRequestOperation *)recruitStudentSacademyListWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 * 院校详情
 */

+ (AFHTTPRequestOperation *)SchoolIfoWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;

/**
 * 添加关注学校
 */
+ (AFHTTPRequestOperation *) addSchool_AttentionWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 *取消关注学校
 */
+ (AFHTTPRequestOperation *) cancleSchool_AttentionWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 * 我关注的学校
 */

+ (AFHTTPRequestOperation *)concernSchollListWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;



/**
 * 获得专业列表
 */
+ (AFHTTPRequestOperation *)getProfessionalSettingListWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 *添加关注专业
 */
+ (AFHTTPRequestOperation *) AddProfessional_AttentionWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**取消关注专业
 *
 */
+ (AFHTTPRequestOperation *) CancleProfessional_AttentionWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;

/**
 * 我关注的专业
 */
+ (AFHTTPRequestOperation *)concernProfessListWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 *招生政策
 */
+ (AFHTTPRequestOperation *)enrollmentPolicyListWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 * 上传 题目
 **/

+ (AFHTTPRequestOperation *) circleUpQuestionWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 * 回答 题目
 **/

+ (AFHTTPRequestOperation *) circle_AnswerQuestionWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;
/**
 * 回答 历史
 **/

+ (AFHTTPRequestOperation *) circle_history_AnswerWithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;

+ (AFHTTPRequestOperation *) token_WithInfo:(NSDictionary *)parametes complete:(JMAPPNetworkingBlock)block;



///////////////////////////////////////////////////////
+ (NSString *)independentCandidatesAnswerUrl;
+ (NSString *)boostTheArtsUrl;
+ (NSString *)artExamineeAnswerUrl;
+ (NSString *)trainingCampUrl;
+ (NSString *)summerCampTourUrl;
+ (NSString *)summerCampQuestionAnswerUrl;
+ (NSString *)whereTheInterestUrl;
+ (NSString *)inspirationalBigCoffeeUrl;
+ (NSString *)awarInTheEndUrl;
+ (NSString *)aboutUsUrl;
+ (NSString *)xinggeceshiResultUrl:(NSDictionary *)dict;




@end
